-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix track handles dissapearing #6338
Conversation
🤖 Hey, I'm @LmmsBot from github.com/lmms/bot and I made downloads for this pull request, click me to make them magically appear! 🎩
Windows
Linux
macOS🤖{"platform_name_to_artifacts": {"Windows": [{"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://output.circle-artifacts.com/output/job/f7421b7a-e1ac-415f-8d58-edbc1fef27c5/artifacts/0/lmms-1.3.0-alpha.1.181+g5f0df108a-mingw-win32.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/16153?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://output.circle-artifacts.com/output/job/f45aca6f-6ce0-41c4-ba67-e7e24542cbd8/artifacts/0/lmms-1.3.0-alpha.1.181+g5f0df108a-mingw-win64.exe"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/16152?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}, {"artifact": {"title": {"title": "32-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/tj6h9uubsi24hkao/artifacts/build/lmms-1.3.0-alpha-msvc2017-win32.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/43202519"}, {"artifact": {"title": {"title": "64-bit", "platform_name": "Windows"}, "link": {"link": "https://ci.appveyor.com/api/buildjobs/rqotn41tgdor36d2/artifacts/build/lmms-1.3.0-alpha-msvc2017-win64.exe"}}, "build_link": "https://ci.appveyor.com/project/Lukas-W/lmms/builds/43202519"}], "Linux": [{"artifact": {"title": {"title": "(AppImage)", "platform_name": "Linux"}, "link": {"link": "https://output.circle-artifacts.com/output/job/3440e364-b2e6-4270-b130-a016324c26b7/artifacts/0/lmms-1.3.0-alpha.1.181+g5f0df108a-linux-x86_64.AppImage"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/16149?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}], "macOS": [{"artifact": {"title": {"title": "", "platform_name": "macOS"}, "link": {"link": "https://output.circle-artifacts.com/output/job/f2382859-4ece-48f4-b347-604a4431631b/artifacts/0/lmms-1.3.0-alpha.1.181+g5f0df108a-mac10.14.dmg"}}, "build_link": "https://circleci.com/gh/LMMS/lmms/16151?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link"}]}, "commit_sha": "e3123e308fed97de36a65d94efb6a22f586be1a2"} |
Having tested, I can't reproduce it with any conditions remotely similar to what I needed to reproduce it before. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I must investigate closer what happens when you update a TrackView and when it is needed. Perhaps renaming the method is stupid. At least there should be better comments. |
19aab5f
to
e3123e3
Compare
I've reverted the rename since I've discovered how much cleaning up is needed for the |
Just to double check, this was the only change made in the force push, right? |
Correct |
e3123e3
to
06a2930
Compare
Hey, I've reverted to the bare minimum needed to fix the bug. Ready to merge when tested @Veratil I'll make another PR with the redraw related fixes because I have found more of them... |
@Monospace-V @PhysSong can you also test that this fixes the issue and doesn't cause any regression of behavior by removing the resizeEvent function? |
Update about the fixes/any regressions? Is this ready for merge? |
Looking at the code, there doesn't seem to be an issue from removing |
I merged this commit on the very last lmms/master branch (bda1a9c) and noticed no problem either. There is still the fact that having a sample track with a sample in it, makes the whole song editor very slow to response, it makes it stutters if I may say (the display, not the audio hopefully!). But I noticed that some time ago, it’s not aggravated by the commit anyhow. I use sample tracks in the song editor nearly never myself, not even for this slowness, just a matter of taste I guess. |
That's a completely different issue. That's due to sample graph rendering. Since i got a confirmation, merging. |
Fixes #6334, by letting Qt handle resizing of Song Editor's content.
I don't exactly understand what triggered the original bug, so testing is needed 😄
Also this PR removes unnecessary redrawing of ALL clips when: